/**
 * Created by Administrator on 2017/10/17.
 */
var express = require('express');
var router = express.Router();

var dataCtrl = require('../controller/upload.controller');

router.post('/upload/:cate',dataCtrl.upload);
router.post("/list",dataCtrl.list);
router.post("/removes",dataCtrl.removes);
// router.get('/data/:id',dataCtrl.get);
// router.put('/data/:id',dataCtrl.update);
// router.delete('/data/:id',dataCtrl.remove);
// router.get('/list/:type',dataCtrl.list);
// router.get('/getFamily/:id',dataCtrl.getFamily);

module.exports = router;